package com.github.live.base;

import android.view.View;

/**
 * @ClassName A
 * @description:
 * @author: biao532
 * @create: 2024-01-26 17:24
 * @Version 1.0
 **/
public interface VisibleComponent {

    void show();

    default void hide() {
        hide(0);
    }

    void hide(long delay);

    default boolean isShowing() {
        return getVisibility() == View.VISIBLE;
    }

    int getVisibility();
}
